import Layout from '@/views/layout/index.vue'

export default {
    path:'/comp',
    component:Layout,
    name:'Comp',
    redirect:'/comp/form',
    meta: { title: '组件库', icon:"el-icon-menu"},
    children:[
      {
        path: 'form',
        component: () => import('@/views/comp/form.vue'),
        meta: { title: '通用表单基础'}
      },
      {
          path: 'rich',
          name: 'Rich',
          component: () => import('@/views/comp/rich.vue'),
          meta: { title: '富文本组件', disableCache:true}
      },
      {
        path: 'tiny',
        name:'Tiny',
        component: () => import('@/views/comp/tiny.vue'),
        meta: { title: '本地测试',disableCache:true}
      },
      {
        path:'map',
        name: "Map",
        component: () => import('@/views/comp/amap.vue'),
        meta: { title: '高度地图',disableCache:true}
      }
    ]
}